import {createRootRoute, Outlet} from '@tanstack/react-router'
import {TanStackRouterDevtools} from '@tanstack/router-devtools'

import {Header, RightContent} from '../header/Header.tsx';

export const Route = createRootRoute({
    component: () => (
        <>
            <Header RightSlot={RightContent} />
            <hr/>
            <Outlet/>
            <TanStackRouterDevtools/>
        </>
    ),
})
